package com.csun.cmny.provider.model.dto.watch;

import com.csun.cmny.base.dto.BaseQuery;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Range;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-01-25 14:58
 * @Description: the class watch alarm clock page query
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class WatchAlarmClockPageQuery extends BaseQuery {

    private static final long serialVersionUID = -1060171642988418263L;

    /**
     * 设备Id
     */
    private Long deviceId;

    /**
     * 设备编号
     */
    private String deviceNo;

    /**
     * 设备名称
     */
    public String deviceName;

    /**
     * 闹钟类型 0-吃药提醒 1-喝水提醒 2-运动提醒 3-自定义1 4-自定义2 5-自定义3
     */
    //@Range(min = 0, max = 5, message = "{watch.alarm.clock.type.range}")
    public Integer clockType;

    /**
     * 闹钟开关 0-关 1-开
     */
    //@Range(min = 0, max = 1, message = "{watch.alarm.clock.switch.range}")
    public Integer clockSwitch;

    /**
     * 是否需要下发
     */
    public Integer isNeed;

    /**
     * 是否已发送
     */
    public Integer isSend;

}
